import type { MenuResponseData } from "./type"
import { request } from "@/http/axios"

/** 获取当前登录用户详情 */
export function getMenus() {
  return request<MenuResponseData>({
    url: "/system/menus",
    method: "get"
  })
}
